🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / ui / src / commonMain / kotlin / org / meshtastic / core / ui / util / LocalSitePlannerAvailable.kt
Displaying Raw • Download
core/ui/src/commonMain/kotlin/org/meshtastic/core/ui/util/LocalSitePlannerAvailable.kt 2d20cd8a4708e2ef66e98d5259f3a97ec93f240a (2d20cd8a) Text, 1.45 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.ui.util
Tff7b72import T7ee787androidx.compose.runtime.compositionLocalOf
T8b949e/**
* Whether the Site Planner coverage-estimate flow is available (Google flavor only, backed by the official hosted
* planner). Gates the "Estimate coverage" action on the node detail screen; the map's own control is gated equivalently
* in the Google MapView. Defaults to false so F-Droid/release never surface a dead action.
*
* Flavor-injected feature availability, mirroring the other Local*Provider seams in this package (all baselined for
* this rule); a plain boolean local is the lightest way to gate a commonMain UI action on a flavor capability.
*/
Tf0883e@SuppressTb4b4b4(Ta5d6ff"Ta5d6ffCompositionLocalAllowlistTa5d6ff"Tb4b4b4)
Tff7b72val Te6edf3LocalSitePlannerAvailable Tff7b72= Te6edf3compositionLocalOf Tb4b4b4{ Tff7b72false Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.1s